package com.aistar.pojoVO;

import com.aistar.pojo.Customer;
import com.aistar.pojo.Dynamic;

import java.io.Serializable;

/**
 * dynamic; 动态
 * customer; 发表动态的用户
 * like; 点赞数
 * collect; 收藏数
 * comment; 评论数
 */
public class DynamicAllVO implements Serializable {
    private Integer dynamicId;
    private Dynamic dynamic;
    private Customer customer;
    private Integer like;
    private Integer collect;
    private Integer comment;
    private static final long serialVersionUID = 1L;
    
    public DynamicAllVO() {
    }

    public DynamicAllVO(Integer dynamicId, Dynamic dynamic, Customer customer, Integer like, Integer collect, Integer comment) {
        this.dynamicId = dynamicId;
        this.dynamic = dynamic;
        this.customer = customer;
        this.like = like;
        this.collect = collect;
        this.comment = comment;
    }

    public Integer getDynamicId() {
        return dynamicId;
    }

    public void setDynamicId(Integer dynamicId) {
        this.dynamicId = dynamicId;
    }

    public Dynamic getDynamic() {
        return dynamic;
    }

    public void setDynamic(Dynamic dynamic) {
        this.dynamic = dynamic;
    }

    public Customer getCustomer() {
        return customer;
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public Integer getLike() {
        return like;
    }

    public void setLike(Integer like) {
        this.like = like;
    }

    public Integer getCollect() {
        return collect;
    }

    public void setCollect(Integer collect) {
        this.collect = collect;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    @Override
    public String toString() {
        return "DynamicAllVO{" +
                "dynamicId=" + dynamicId +
                ", dynamic=" + dynamic +
                ", customer=" + customer +
                ", like=" + like +
                ", collect=" + collect +
                ", comment=" + comment +
                '}';
    }
}
